package com.easyctrl.dialog; 

import com.easyctrl.ldy.activity.R;
import com.easyctrl.ui.base.BaseDialog;

import android.content.Context; 
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class HintDialog extends BaseDialog implements OnClickListener{

	private Button confirm;
	private TextView hint; 
	public HintDialog(Context context) {
		super(context);   
		setContentView(R.layout.hint_dialog);
		confirm = (Button) findViewById(R.id.confirm); 
		hint = (TextView) findViewById(R.id.content);
		confirm.setOnClickListener(this);
	} 

	public void setHint(String strhint){
		this.hint.setText(strhint);
	}
	
	@Override
	public void onClick(View v) {  
		cancel();
	} 
}
